package com.ttg.web.dao;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ttg.common.entities.BasePage;
import com.ttg.model.dto.QMReportDTO;
import com.ttg.model.dto.RoleListDTO;
import com.ttg.model.pojo.AdminRole;
import com.ttg.model.pojo.QualityManageIndustryReport;
import com.ttg.model.vo.QMIndustryReportVO;

import java.util.List;

/**
 * (TblQualityManageIndustryReport) dao
 *
 * @author chenyou
 * @datetime 2025-08-18 14:50:29
 */
public interface QualityManageIndustryReportDao extends IService<QualityManageIndustryReport>{

    QualityManageIndustryReport getByUnique(String year,String month,String clsId1,String clsId2);

    void saveOrUpdateBatch(List<QualityManageIndustryReport> reports);

    void saveOrUpd(QualityManageIndustryReport report);

    BasePage<QMIndustryReportVO> report(BasePage page,QMReportDTO reqDto);

    List<String> selectYears();

    List<String> selectMonths(String year);
}

